﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BDF RID: 3039
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyTakeRaffleTicketRewardCsReq : IMessage<MonopolyTakeRaffleTicketRewardCsReq>, IMessage, IEquatable<MonopolyTakeRaffleTicketRewardCsReq>, IDeepCloneable<MonopolyTakeRaffleTicketRewardCsReq>, IBufferMessage
	{
		// Token: 0x17002641 RID: 9793
		// (get) Token: 0x060087E3 RID: 34787 RVA: 0x00168C65 File Offset: 0x00166E65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyTakeRaffleTicketRewardCsReq> Parser
		{
			get
			{
				return MonopolyTakeRaffleTicketRewardCsReq._parser;
			}
		}

		// Token: 0x17002642 RID: 9794
		// (get) Token: 0x060087E4 RID: 34788 RVA: 0x00168C6C File Offset: 0x00166E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyTakeRaffleTicketRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002643 RID: 9795
		// (get) Token: 0x060087E5 RID: 34789 RVA: 0x00168C7E File Offset: 0x00166E7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyTakeRaffleTicketRewardCsReq.Descriptor;
			}
		}

		// Token: 0x060087E6 RID: 34790 RVA: 0x00168C85 File Offset: 0x00166E85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyTakeRaffleTicketRewardCsReq()
		{
		}

		// Token: 0x060087E7 RID: 34791 RVA: 0x00168C8D File Offset: 0x00166E8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyTakeRaffleTicketRewardCsReq(MonopolyTakeRaffleTicketRewardCsReq other) : this()
		{
			this.aBJCHBJJMIO_ = other.aBJCHBJJMIO_;
			this.poolId_ = other.poolId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060087E8 RID: 34792 RVA: 0x00168CBE File Offset: 0x00166EBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyTakeRaffleTicketRewardCsReq Clone()
		{
			return new MonopolyTakeRaffleTicketRewardCsReq(this);
		}

		// Token: 0x17002644 RID: 9796
		// (get) Token: 0x060087E9 RID: 34793 RVA: 0x00168CC6 File Offset: 0x00166EC6
		// (set) Token: 0x060087EA RID: 34794 RVA: 0x00168CCE File Offset: 0x00166ECE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ABJCHBJJMIO
		{
			get
			{
				return this.aBJCHBJJMIO_;
			}
			set
			{
				this.aBJCHBJJMIO_ = value;
			}
		}

		// Token: 0x17002645 RID: 9797
		// (get) Token: 0x060087EB RID: 34795 RVA: 0x00168CD7 File Offset: 0x00166ED7
		// (set) Token: 0x060087EC RID: 34796 RVA: 0x00168CDF File Offset: 0x00166EDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PoolId
		{
			get
			{
				return this.poolId_;
			}
			set
			{
				this.poolId_ = value;
			}
		}

		// Token: 0x060087ED RID: 34797 RVA: 0x00168CE8 File Offset: 0x00166EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyTakeRaffleTicketRewardCsReq);
		}

		// Token: 0x060087EE RID: 34798 RVA: 0x00168CF6 File Offset: 0x00166EF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyTakeRaffleTicketRewardCsReq other)
		{
			return other != null && (other == this || (this.ABJCHBJJMIO == other.ABJCHBJJMIO && this.PoolId == other.PoolId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060087EF RID: 34799 RVA: 0x00168D34 File Offset: 0x00166F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ABJCHBJJMIO != 0UL)
			{
				num ^= this.ABJCHBJJMIO.GetHashCode();
			}
			if (this.PoolId != 0U)
			{
				num ^= this.PoolId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060087F0 RID: 34800 RVA: 0x00168D8C File Offset: 0x00166F8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060087F1 RID: 34801 RVA: 0x00168D94 File Offset: 0x00166F94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060087F2 RID: 34802 RVA: 0x00168DA0 File Offset: 0x00166FA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ABJCHBJJMIO != 0UL)
			{
				output.WriteRawTag(40);
				output.WriteUInt64(this.ABJCHBJJMIO);
			}
			if (this.PoolId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060087F3 RID: 34803 RVA: 0x00168DFC File Offset: 0x00166FFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ABJCHBJJMIO != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ABJCHBJJMIO);
			}
			if (this.PoolId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060087F4 RID: 34804 RVA: 0x00168E54 File Offset: 0x00167054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyTakeRaffleTicketRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ABJCHBJJMIO != 0UL)
			{
				this.ABJCHBJJMIO = other.ABJCHBJJMIO;
			}
			if (other.PoolId != 0U)
			{
				this.PoolId = other.PoolId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060087F5 RID: 34805 RVA: 0x00168EA4 File Offset: 0x001670A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060087F6 RID: 34806 RVA: 0x00168EB0 File Offset: 0x001670B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PoolId = input.ReadUInt32();
					}
				}
				else
				{
					this.ABJCHBJJMIO = input.ReadUInt64();
				}
			}
		}

		// Token: 0x040033B2 RID: 13234
		private static readonly MessageParser<MonopolyTakeRaffleTicketRewardCsReq> _parser = new MessageParser<MonopolyTakeRaffleTicketRewardCsReq>(() => new MonopolyTakeRaffleTicketRewardCsReq());

		// Token: 0x040033B3 RID: 13235
		private UnknownFieldSet _unknownFields;

		// Token: 0x040033B4 RID: 13236
		public const int ABJCHBJJMIOFieldNumber = 5;

		// Token: 0x040033B5 RID: 13237
		private ulong aBJCHBJJMIO_;

		// Token: 0x040033B6 RID: 13238
		public const int PoolIdFieldNumber = 7;

		// Token: 0x040033B7 RID: 13239
		private uint poolId_;
	}
}
